package com.bins.dentist.clinic.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bins.dentist.clinic.entity.DictTypeEntity;
import com.bins.dentist.clinic.model.dto.DictTypeDto;
import com.bins.dentist.clinic.model.dto.DictTypePageDto;
import com.bins.dentist.clinic.model.vo.DictTypeVo;
import com.bins.dentist.clinic.model.vo.SimpleSelectVo;

import java.util.List;

/**
 * <p>
 * 字典类型表 服务类
 * </p>
 *
 * @author bins
 * @since 2023-04-23 13:22:36
 */
public interface DictTypeService extends IService<DictTypeEntity> {

    IPage<DictTypeVo> getPage(DictTypePageDto pageDto);

    DictTypeVo getDetail(DictTypeDto dto);

    DictTypeVo saveItem(DictTypeDto dto);

    Integer deleteItem(DictTypeDto dto);

    List<SimpleSelectVo> selectList(DictTypeDto dto);
}
